<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Section;

class SectionController extends Controller
{
    public function list()
    {
        return response()->json(Section::all('name'));
    }
}
